﻿using Autodesk.AutoCAD.DatabaseServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace XS.Tunnel.Cad.SteelBracing.Component.SteelShotcrete
{


    public class SplitArcModel
    {
        public SplitArcModel( Curve starArc,Curve endArc)
        {
            StartArc = starArc;
            EndArc = endArc;
        }
        public Curve StartArc { get; set; }

        public Curve EndArc { get; set; }

    }



    /// <summary>
    /// 分割三段弧
    /// </summary>
    public class Split3ArcModel: SplitArcModel
    {
        public Split3ArcModel(Curve starArc, Curve curve, Curve endArc) : base(starArc, endArc)
        {
         
            MiddleArc = curve;
        }

        public Curve MiddleArc { get; set; }

        public List<Curve> ToList()
        {
            var list = new List<Curve>
            {
                StartArc,
                MiddleArc,
                EndArc
            };
            return list ;
        }

    }




   


}











